<!DOCTYPE html>
<head>
    <title>
        axios
    </title>
<script src="vue.js"></script>
<script src="https://cdn.staticfile.org/axios/0.18.0/axios.min.js"></script>
</head>
<body>
<div id = "app">
    <div>{{info.name}}住在{{info.add}}</div>
    <a v-bind:href="info.url">url_click</a>
</div>
<script type="text/javascript">
   var vm = new Vue({
        el : "#app",
        data(){
            return{
                info:{
                    name: null,
                    add: null,
                    url: null
                }
            }
        },
        methods:{
        },
        mounted(){
            axios.get('data.json').then(response => (this.info = response.data))
        }
    });
</script>
</body>
